package com.lh.java.basic.grammer;
import java.util.HashMap;
import java.util.Map;


public class TestMap {

	/**
	 * 功能描述  
	 * @Author: lh  2012-10-25 下午04:47:11
	 */
	public static void main(String[] args) {
		Map<String,Integer> map = new HashMap<String, Integer>();
		
		try{
			map.put(null, null);
		}catch(Exception e){
			System.out.println("null exception");
		}
		try{
			map.put(null, 2);
		}catch(Exception e){
			System.out.println("eroor");
		}
		System.out.println(map.get(null));
		

	}

}
